home *** CD-ROM | disk | FTP | other *** search
- Path: winnie.freenet.mb.ca!lip209
- From: Barry Chodirker <lip209@freenet.mb.ca>
- Newsgroups: comp.lang.c++
- Subject: Help! Turbo C++ 4.5 Class Library
- Date: Wed, 13 Mar 1996 10:22:45 -0600
- Organization: Blue Sky FreeNet of Manitoba Inc.
- Message-ID: <Pine.SOL.3.91.960313100754.3720A-100000@winnie.freenet.mb.ca>
- NNTP-Posting-Host: winnie.freenet.mb.ca
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- I'm trying to create a double linked list of pointers to a
- structure(Record) with the template TIDoubleListImp. I'm missing
- something in the declaration:
-
- typedef TIDoubleListImp<Record> TheList;
-
- class ViewList {
- public:
- Record* RecPtr;
- TheList List;
- Other Members
- };
-
- Compiling generates the error "Illegal structure operation in the class
- library include file DListImp.h -- It's balking at the casting operation:
- while (!(STATIC_CAST(T, STATIC_CAST(void*, t) ==
- *STATIC_CAST(T, ETC ETC))))
-
- Where have I gone wrong? Any help would be appreciated.
- Thanks.
-
-
-